home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
pcmagdoc.arc
/
DIRCOMP.DOC
< prev
next >
Wrap
Text File
|
1988-01-19
|
3KB
|
57 lines
DIRCOMP Charles Petzold
Command 1987/No. 2 (Lab Notes)
______________________________________________________
Purpose: Permits comparison of the contents of two
directories in alphabetical order, with the
options of redirecting the screen display
either to a file or to a printer.
Format: DIRCOMP directory1 directory2
Remarks: The directories to be compared do not need to
be on the same drive. Use the normal DOS
backslash (\) character in specifying the
path to a desired directory. The DOS
"wildcard" characters (* and ?) may be used
to limit the filenames displayed.
Identically-named files are shown side-by-
side to facilitate comparison of their size,
date, and time. Other filenames are
presented alphabetically in their respective
directory columns. Use Ctrl-NumLock to halt
the display scrolling temporarily; striking
any key thereafter causes scrolling to
resume.
In comparing large directories it is
frequently desirable to redirect the output
of DIRCOMP either to a file (which you can
then call up with your word processor) or to
a printer.
Example: To create a file called COMPARE.TMP in the
root directory of drive C: (your currently
active drive) that compares the listings in
your \LETTERS subdirectory with the files
contained on a floppy disk in drive B: you
would enter:
DIRCOMP \LETTERS B: > \COMPARE.TMP
Example: To print out the same comparison without
creating a file, you would enter:
DIRCOMP \LETTERS B: > PRN
Notes:
1. DIRCOMP does not provide
forward/backward scrolling capabilities.
If these are desired as an alternative
to alphabetical listings, use
SCANDIR.COM, which is also contained on
this disk.